<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="6.js"></script>

</head>
<body>
    <div id="mydiv" style="background-color: yellow">div内容</div>
    <input type="button" value="改变样式1" onclick="change1()">
    <input type="button" value="改变样式2" onclick="change2()">

    <div id="testdiv" style="background-color: yellow">div内容</div>
    <input type="button" value="改变" onclick="change3()">

    <table border="1" cellspacing="0" width="50%">
        <thead>
            <tr><th>编号</th><th>姓名</th><th>性别</th></tr>
        </thead>

        <tbody id="data">
            <tr><td>001</td><td>张三</td><td>男</td></tr>
            <tr><td>001</td><td>张三</td><td>男</td></tr>
            <tr><td>001</td><td>张三</td><td>男</td></tr>
            <tr><td>001</td><td>张三</td><td>男</td></tr>
            <tr><td>001</td><td>张三</td><td>男</td></tr>
        </tbody>
    </table>

    <a href="javascript:alert('111')">点击</a>

    <script>
        var a = $("data");
        console.log(a);
        a = 2;
        console.log(a);
        a = "3ddd";
        console.log(a);
        {
            let b = 8;
        }
        const c = 8;
    </script>
</body>
</html>